import request from '@/utils/request'

// 获取昨日订单统计数据
export function getYesterdayStats() {
  return request({
    url: '/door/order-static/info',
    method: 'get'
  })
}

// 获取订单统计概览
export function getOrderStatsOverview() {
  return request({
    url: '/door/order-static/overview',
    method: 'get'
  })
}

// 获取充电量统计数据
export function getChargingStats(params) {
  return request({
    url: '/door/order-static/charging-stats',
    method: 'get',
    params: params
  })
} 